import { ref } from "vue"

const columns = ref<Column[]>([
  {
    prop: "id",
    label: "日志编号",
    sortable: true
  },
  {
    prop: "controllerDescription",
    label: "系统模块",
    sortable: true
  },
  {
    prop: "action",
    label: "操作类型",
    sortable: true
  },
  {
    prop: "userName",
    label: "操作人员",
    sortable: true
  },
  {
    prop: "ip",
    label: "操作地址",
    sortable: true
  },
  {
    prop: "statusCode",
    label: "操作状态",
    sortable: true
  },
  {
    prop: "createTime",
    label: "操作时间",
    sortable: true,
    minWidth: "100",
    slotName: "create-time"
  },
  {
    prop: "elapsedTime",
    label: "消耗时间",
    sortable: true
  }
])

export { columns }
